190. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-03-13 03:01:04 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

190.1 Files compared

#LocationFileLast Modified
1Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/categorybanner.phtml2016-05-04 09:41:40 +0000
2Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/categorybanner.phtml2023-03-06 04:43:43 +0000

190.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged216
Changed00
Inserted116
Removed00

190.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

190.4 Active regular expressions

No regular expressions were active.

190.5 Comparison detail

1 <?php 1 <?php
2     $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); 2     $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description');
3 ?> 3 ?>
4 <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?> 4 <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?>
5     <div class="category-description no-margin"> 5     <div class="category-description no-margin">
6         <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> 6         <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?>
7     </div> 7     </div>
    8     <script type="text/javascript">
    9     require([
    10         'jquery'
    11     ], function ($) {
    12         var resizeDesc = function(){
    13           var $d_h = $('.page-wrapper .category-description').height();
    14           $('body:not(.cms-index-index) .page-wrapper > .breadcrumbs + .page-main > .page-main-inner > .sidebar-nav').css({
    15             'margin-top': -$d_h
    16           });
    17         }
    18         resizeDesc();
    19         $(window).resize(function(){
    20           resizeDesc();
    21         });
    22     });
    23     </script>
8 <?php endif; ?> 24 <?php endif; ?>